<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
#title {
	background-image: url(images/bg-header.jpg);
	background-repeat: repeat;
	height: 50px;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
}
#menu {
	font-size: 25px;
	line-height: 30px;
	padding-top: 10px;
	padding-left: 5px;
}
#menu a:link, a:visited {
	color: #999999;
	text-decoration: none;
}
#menu a:hover, a:active {
	color: #B9DBDB;
	text-decoration: blink;
}
#left a:link, a:visited {
	color: #666666;
	text-decoration: none;
}
#left a:hover, a:active {
	color: #000000;
}

#container {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
}
#featurebk {
	background-image: url(images/title1.jpg);
	background-repeat: no-repeat;
	height: 200px;
}
#left {
	float: left;
	width: 400px;
}
#right {
	float: left;
	width: 580px;
	margin-left: 5px;
}
#clear {
	clear: both;
}
#bottom {
	background-image: url(images/bg-footer2.png);
	background-repeat: no-repeat;
	height: 102px;
}
#copyright {
	color: #505050;
	font-size: 15px;
	line-height: 30px;
	margin-left: 250px;
	margin-bottom: 30px;
	padding-top: 40px;
}
#letftitle {
	font-size: 25px;
	line-height: 30px;
	color: #333333;
	border-bottom-width: 1px;
	border-bottom-style: double;
	border-bottom-color: #999999;
	margin-top: 5px;
	padding-left: 5px;
}
#ldetail {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dotted;
	border-bottom-style: dotted;
	border-top-color: #999999;
	border-bottom-color: #999999;
	font-size: 15px;
	line-height: 25px;
	color: #666666;
	padding-left: 5px;
}
#ltable1 {
	font-size: 18px;
	line-height: 28px;
	color: #333333;
}
#lrcomend {
	font-size: 25px;
	line-height: 30px;
	color: #666666;
	margin-top: 5px;
	padding-left: 5px;
}
#lrank {
	font-size: 16px;
	line-height: 25px;
	color: #666666;
}
#lnews {
	font-size: 16px;
	line-height: 30px;
	color: #666666;
}
#wai {
	background-repeat: repeat;
	background-image: url(images/clouds.jpg);
}
#rtitle {
	font-size: 15px;
	line-height: 25px;
	color: #666666;
	margin-left: 10px;
	margin-top: 5px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999999;
}
#rwblog {
	margin-left: 10px;
}
#rwblog {
	font-size: 20px;
	line-height: 25px;
	color: #666666;
	font-weight: bold;
}
-->
</style>
</head>
<?php $currentTime = time();?>
<body>
<div id="wai">
  <div id="container">
    <div id="title">
      <div id="menu"><table width="640" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="74"><a href="<?php echo $this->createUrl("site/index");?>">首页</a></td>
    <td width="85"><a href="<?php echo $this->createUrl("article/index");?>" >博文</a></td>
    <td width="119"><a href="<?php echo $this->createUrl("article/create");?>">发博文</a></td>
    <td width="115"><a href="#">留言板</a></td>
    <td width="130"><a href="#"> 关于我</a></td>
    <td width="117">&nbsp;</td>
    </tr>
</table>
    </div>
  </div>
  <div id="featurebk"></div>
   <div id="left">
     <div id="letftitle">关于我</div>
     <table width="350" border="0" cellpadding="0" cellspacing="0" id="ltable1">
  <tr>
    <td width="69">&nbsp;</td>
    <td width="180"><img src="images/12.png" width="163" height="160" /></td>
    <td width="101">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="center">云裳花开</td>
    <td>&nbsp;</td>
  </tr>
 </table>

     <div id="ldetail">91年，喜欢动漫，散文，哲学小说，没事爱四处逛<br />
     邮箱：1525781887@qq.com</div>
     <div id="lrcomend">文章分类-----------------------------------</div>
     <div id="lrank">
       <ul>
       <li><a href="#">诗歌</a></li>
       <li> <a href="#">随笔</a></li>
       <li> <a href="#">电影评论</a></li>
       <li> <a href="#">科技 </a></li>
       <li><a href="#">其它 </a></li>
     </ul></div>
     
     <div id="lrcomend">推荐文章-----------------------------------</div>
     
     <div id="lnews">
       <ul>
         <li><a href="#">微信开放WiFi接口，醉翁之意在乎O2O还是大数据</a></li>
         <li><a href="#">Go语言诞生5周年！10大Go语言开源项目</a></li>
         <li><a href="#">神器 VisuAlgo：通过动画学习算法和数据结构</a></li>
         <li><a href="#">如何设计优雅的移动游戏</a></li>
         <li><a href="#">云计算华山论剑：云如何改变企业</a></li>
       </ul>
      </div>
   </div>
    
   
   
   
   <div id="right">
     <div id="rtitle">首页&gt;发博文</div>
     
	 <form id="article" method="POST" action="index.php?r=article/create">
     <div id="rwblog">
       <p>标题：<textarea name="Article[title]" id="textarea" cols="35" rows="1" required></textarea></p>
       
       <p>时间：<input type="textarea" readonly="on" value="<?php echo date("Y/m/d h:m:s",$currentTime);?>" id="textarea" cols="35" rows="1"/></p>
       <input type="hidden" name="Article[createTime]" value="<?php echo $currentTime;?>"/>
	   <p>
         <label>
         <textarea name="Article[content]" id="textarea2" style="height:600px;width:600px;" cols="65" rows="25" required></textarea>
		 <script type="text/javascript">
                CKEDITOR.replace( 'textarea2' );
         </script>
         </label>
       </p>
       <p>分类：
       
         <select name="select" id="select">
           <option>请选择分类</option>
           <option>诗歌</option>
           <option>散文</option>
           <option>科技</option>
           <option>随笔</option>
           <option>电影评论</option>
          </select>
       </p>
       <p>设置 ：
         <input type="radio" name="RadioGroup1" value="单选" id="RadioGroup1_0" />允许所有人评论    
         <input type="radio" name="RadioGroup1" value="单选" id="RadioGroup1_1" />不允许匿名评论
         <input type="radio" name="RadioGroup1" value="单选" id="RadioGroup1_0" />不允许评论       </p>
       
         
       
       <table width="350" border="0" cellspacing="0" cellpadding="0">
         <tr>
           <td width="109">&nbsp;</td>
           <td width="67"><input type="button" name="button2" id="button2" value="保存"/></td>
           <td width="59"><input type="submit" name="button" id="button" value="发博文" onclick="submit()"/></td>
           <td width="75">&nbsp;</td>
           <td width="40">&nbsp;</td>
         </tr>
       </table>
      
     </div>
	 </form>
   </div>
   
   <div id="clear"></div>
   
   <div id="bottom">
     <div id="copyright">Copyright © 2014 SimpleBlog 华师大计算机科学与技术 版权所有</div>
   </div>
  </div>
</div>
</body>
</html>
<script type="text/javascript">

function submit()
{
	document.getElementById("article").submit();
}
</script>